.file-upload-demo {
  padding: 24px;

  .demo-card {
    margin-bottom: 24px;
  }

  .file-upload-dragger {
    margin-bottom: 16px;
  }

  /* 自定义文件列表样式 */
  .file-list-container {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-top: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

    .file-list-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 16px;
      background-color: #f7f7f7;
      border-bottom: 1px solid #f0f0f0;

      .file-list-title {
        font-weight: 500;
        font-size: 14px;
      }
    }

    .file-list {
      max-height: 320px;
      overflow-y: auto;

      .file-list-item {
        padding: 12px 16px;
        transition: background-color 0.3s;

        &:hover {
          background-color: #f9f9f9;
        }

        .file-item-content {
          display: flex;
          align-items: center;
          width: 100%;

          .file-icon {
            font-size: 24px;
            margin-right: 12px;
            color: #8c8c8c;

            &.file-icon-image {
              color: #52c41a;
            }

            &.file-icon-pdf {
              color: #ff4d4f;
            }

            &.file-icon-word {
              color: #1890ff;
            }

            &.file-icon-excel {
              color: #52c41a;
            }

            &.file-icon-zip {
              color: #faad14;
            }
          }

          .file-info {
            flex: 1;
            overflow: hidden;

            .file-name {
              font-weight: 500;
              margin-bottom: 4px;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
            }

            .file-meta {
              display: flex;
              align-items: center;
              font-size: 12px;
              color: #8c8c8c;

              .file-size {
                margin-right: 12px;
                background-color: #f0f0f0;
                padding: 2px 8px;
                border-radius: 10px;
              }

              .file-type {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 200px;
              }
            }
          }
        }
      }
    }
  }
}
